PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Rorschach / Flexi + geiss - the deep diver's cognitive dissonance 1's and 0's where they don't belong.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=0.997 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=0.325 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=-0.22000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.160 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=1.000 |
| 56 | ib_g=1.000 |
| 57 | ib_b=1.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 89 | wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=mx=mx+(.0002*cos(ma)); |
| 92 | wave_0_per_point5=my=my+(.0002*sin(ma)); |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 95 | wave_0_per_point8=my=if(above(my,.9),(.9-my),my); |
| 96 | wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 97 | wave_0_per_point10=my=if(below(my,.1),(.9+my),my); |
| 98 | wave_0_per_point11= |
| 99 | wave_0_per_point12=x=mx; |
| 100 | wave_0_per_point13=y=my; |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=a=(above(bass+mid+treb,.8)); |
| 103 | wavecode_1_enabled=0 |
| 104 | wavecode_1_samples=512 |
| 105 | wavecode_1_sep=0 |
| 106 | wavecode_1_bSpectrum=0 |
| 107 | wavecode_1_bUseDots=0 |
| 108 | wavecode_1_bDrawThick=1 |
| 109 | wavecode_1_bAdditive=0 |
| 110 | wavecode_1_scaling=1.00000 |
| 111 | wavecode_1_smoothing=0.50000 |
| 112 | wavecode_1_r=1.000 |
| 113 | wavecode_1_g=1.000 |
| 114 | wavecode_1_b=1.000 |
| 115 | wavecode_1_a=1.000 |
| 116 | wave_1_per_point1=ma=ma+(above(bass,1)*3.1415*.05*bass); |
| 117 | wave_1_per_point2=ma=ma-(above(mid,1)*3.1415*.05*mid); |
| 118 | wave_1_per_point3= |
| 119 | wave_1_per_point4=mx=mx+(.0001*cos(ma)); |
| 120 | wave_1_per_point5=my=my+(.0001*sin(ma)); |
| 121 | wave_1_per_point6= |
| 122 | wave_1_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 123 | wave_1_per_point8=my=if(above(my,.9),(.9-my),my); |
| 124 | wave_1_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 125 | wave_1_per_point10=my=if(below(my,.1),(.9+my),my); |
| 126 | wave_1_per_point11= |
| 127 | wave_1_per_point12=x=mx; |
| 128 | wave_1_per_point13=y=my; |
| 129 | wave_1_per_point14= |
| 130 | wave_1_per_point15=a=(above(bass+mid+treb,.1)); |
| 131 | wavecode_2_enabled=0 |
| 132 | wavecode_2_samples=512 |
| 133 | wavecode_2_sep=0 |
| 134 | wavecode_2_bSpectrum=0 |
| 135 | wavecode_2_bUseDots=0 |
| 136 | wavecode_2_bDrawThick=1 |
| 137 | wavecode_2_bAdditive=0 |
| 138 | wavecode_2_scaling=1.00000 |
| 139 | wavecode_2_smoothing=0.50000 |
| 140 | wavecode_2_r=1.000 |
| 141 | wavecode_2_g=1.000 |
| 142 | wavecode_2_b=1.000 |
| 143 | wavecode_2_a=1.000 |
| 144 | wave_2_per_point1=ma=ma+(above(mid,1)*3.1415*.01*mid); |
| 145 | wave_2_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 146 | wave_2_per_point3= |
| 147 | wave_2_per_point4=mx=mx+(.0004*cos(ma)); |
| 148 | wave_2_per_point5=my=my+(.0004*sin(ma)); |
| 149 | wave_2_per_point6= |
| 150 | wave_2_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 151 | wave_2_per_point8=my=if(above(my,.9),(.9-my),my); |
| 152 | wave_2_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 153 | wave_2_per_point10=my=if(below(my,.1),(.9+my),my); |
| 154 | wave_2_per_point11= |
| 155 | wave_2_per_point12=x=mx; |
| 156 | wave_2_per_point13=y=my; |
| 157 | wave_2_per_point14= |
| 158 | wave_2_per_point15=a=(above(bass+mid+treb,.3)); |
| 159 | wavecode_3_enabled=0 |
| 160 | wavecode_3_samples=512 |
| 161 | wavecode_3_sep=0 |
| 162 | wavecode_3_bSpectrum=0 |
| 163 | wavecode_3_bUseDots=0 |
| 164 | wavecode_3_bDrawThick=1 |
| 165 | wavecode_3_bAdditive=0 |
| 166 | wavecode_3_scaling=1.00000 |
| 167 | wavecode_3_smoothing=0.50000 |
| 168 | wavecode_3_r=1.000 |
| 169 | wavecode_3_g=1.000 |
| 170 | wavecode_3_b=1.000 |
| 171 | wavecode_3_a=1.000 |
| 172 | wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass); |
| 173 | wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb); |
| 174 | wave_3_per_point3= |
| 175 | wave_3_per_point4=mx=mx+(.0008*cos(ma)); |
| 176 | wave_3_per_point5=my=my+(.0008*sin(ma)); |
| 177 | wave_3_per_point6= |
| 178 | wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 179 | wave_3_per_point8=my=if(above(my,.9),(.9-my),my); |
| 180 | wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 181 | wave_3_per_point10=my=if(below(my,.1),(.9+my),my); |
| 182 | wave_3_per_point11= |
| 183 | wave_3_per_point12=x=mx; |
| 184 | wave_3_per_point13=y=my; |
| 185 | wave_3_per_point14= |
| 186 | wave_3_per_point15=a=(above(bass+mid+treb,.2)); |
| 187 | shapecode_0_enabled=0 |
| 188 | shapecode_0_sides=14 |
| 189 | shapecode_0_additive=0 |
| 190 | shapecode_0_thickOutline=0 |
| 191 | shapecode_0_textured=0 |
| 192 | shapecode_0_num_inst=10 |
| 193 | shapecode_0_x=0.500 |
| 194 | shapecode_0_y=0.500 |
| 195 | shapecode_0_rad=0.01525 |
| 196 | shapecode_0_ang=0.00000 |
| 197 | shapecode_0_tex_ang=0.62832 |
| 198 | shapecode_0_tex_zoom=1.00000 |
| 199 | shapecode_0_r=1.000 |
| 200 | shapecode_0_g=1.000 |
| 201 | shapecode_0_b=1.000 |
| 202 | shapecode_0_a=1.000 |
| 203 | shapecode_0_r2=1.000 |
| 204 | shapecode_0_g2=1.000 |
| 205 | shapecode_0_b2=1.000 |
| 206 | shapecode_0_a2=1.000 |
| 207 | shapecode_0_border_r=1.000 |
| 208 | shapecode_0_border_g=1.000 |
| 209 | shapecode_0_border_b=1.000 |
| 210 | shapecode_0_border_a=0.000 |
| 211 | shape_0_per_frame1=ma=ma+(above(bass,.5)*3.1415*.02*bass); |
| 212 | shape_0_per_frame2=ma=ma-(above(treb,.5)*3.1415*.02*treb); |
| 213 | shape_0_per_frame3= |
| 214 | shape_0_per_frame4=mx=mx+(.0008*cos(ma)); |
| 215 | shape_0_per_frame5=my=my+(.0008*sin(ma)); |
| 216 | shape_0_per_frame6= |
| 217 | shape_0_per_frame7=mx=if(above(mx,.9),(.9-mx),mx); |
| 218 | shape_0_per_frame8=my=if(above(my,.9),(.9-my),my); |
| 219 | shape_0_per_frame9=mx=if(below(mx,.1),(.9+mx),mx); |
| 220 | shape_0_per_frame10=my=if(below(my,.1),(.9+my),my); |
| 221 | shape_0_per_frame11= |
| 222 | shape_0_per_frame12=x=mx; |
| 223 | shape_0_per_frame13=y=my; |
| 224 | shape_0_per_frame14= |
| 225 | shape_0_per_frame15=a=(above(bass+mid+treb,.2)); |
| 226 | shapecode_1_enabled=0 |
| 227 | shapecode_1_sides=4 |
| 228 | shapecode_1_additive=0 |
| 229 | shapecode_1_thickOutline=0 |
| 230 | shapecode_1_textured=0 |
| 231 | shapecode_1_num_inst=1 |
| 232 | shapecode_1_x=0.500 |
| 233 | shapecode_1_y=0.500 |
| 234 | shapecode_1_rad=0.10000 |
| 235 | shapecode_1_ang=0.00000 |
| 236 | shapecode_1_tex_ang=0.00000 |
| 237 | shapecode_1_tex_zoom=1.00000 |
| 238 | shapecode_1_r=1.000 |
| 239 | shapecode_1_g=0.000 |
| 240 | shapecode_1_b=0.000 |
| 241 | shapecode_1_a=1.000 |
| 242 | shapecode_1_r2=0.000 |
| 243 | shapecode_1_g2=1.000 |
| 244 | shapecode_1_b2=0.000 |
| 245 | shapecode_1_a2=0.000 |
| 246 | shapecode_1_border_r=1.000 |
| 247 | shapecode_1_border_g=1.000 |
| 248 | shapecode_1_border_b=1.000 |
| 249 | shapecode_1_border_a=0.100 |
| 250 | shapecode_2_enabled=0 |
| 251 | shapecode_2_sides=4 |
| 252 | shapecode_2_additive=0 |
| 253 | shapecode_2_thickOutline=0 |
| 254 | shapecode_2_textured=0 |
| 255 | shapecode_2_num_inst=1 |
| 256 | shapecode_2_x=0.500 |
| 257 | shapecode_2_y=0.500 |
| 258 | shapecode_2_rad=0.10000 |
| 259 | shapecode_2_ang=0.00000 |
| 260 | shapecode_2_tex_ang=0.00000 |
| 261 | shapecode_2_tex_zoom=1.00000 |
| 262 | shapecode_2_r=1.000 |
| 263 | shapecode_2_g=0.000 |
| 264 | shapecode_2_b=0.000 |
| 265 | shapecode_2_a=1.000 |
| 266 | shapecode_2_r2=0.000 |
| 267 | shapecode_2_g2=1.000 |
| 268 | shapecode_2_b2=0.000 |
| 269 | shapecode_2_a2=0.000 |
| 270 | shapecode_2_border_r=1.000 |
| 271 | shapecode_2_border_g=1.000 |
| 272 | shapecode_2_border_b=1.000 |
| 273 | shapecode_2_border_a=0.100 |
| 274 | shapecode_3_enabled=0 |
| 275 | shapecode_3_sides=4 |
| 276 | shapecode_3_additive=0 |
| 277 | shapecode_3_thickOutline=0 |
| 278 | shapecode_3_textured=0 |
| 279 | shapecode_3_num_inst=1 |
| 280 | shapecode_3_x=0.500 |
| 281 | shapecode_3_y=0.500 |
| 282 | shapecode_3_rad=0.10000 |
| 283 | shapecode_3_ang=0.00000 |
| 284 | shapecode_3_tex_ang=0.00000 |
| 285 | shapecode_3_tex_zoom=1.00000 |
| 286 | shapecode_3_r=1.000 |
| 287 | shapecode_3_g=0.000 |
| 288 | shapecode_3_b=0.000 |
| 289 | shapecode_3_a=1.000 |
| 290 | shapecode_3_r2=0.000 |
| 291 | shapecode_3_g2=1.000 |
| 292 | shapecode_3_b2=0.000 |
| 293 | shapecode_3_a2=0.000 |
| 294 | shapecode_3_border_r=1.000 |
| 295 | shapecode_3_border_g=1.000 |
| 296 | shapecode_3_border_b=1.000 |
| 297 | shapecode_3_border_a=0.100 |
| 298 | per_frame_1=chng=sin(time*.5); |
| 299 | per_frame_2=cthr=.9999; |
| 300 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 301 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 302 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 303 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 304 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 305 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 306 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 307 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 308 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 309 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 310 | per_frame_13=monitor=chng; |
| 311 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 312 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 313 | per_frame_16= |
| 314 | per_frame_17=monitor=mq1; |
| 315 | per_frame_18=vol=bass+treb+mid; |
| 316 | per_frame_19=atime=atime+vol; |
| 317 | per_frame_20=q11=.4+sin(atime*.006 )*.4; |
| 318 | per_frame_21=q12=.4+cos(atime*.00613828348)*.4; |
| 319 | per_frame_22=q13=.4+sin(atime*.00598593455)*.4; |
| 320 | per_frame_23=monitor=q13; |
| 321 | per_frame_24=q4=sin(atime*.03); |
| 322 | per_frame_25=q5=cos(atime*.030383824); |
| 323 | per_frame_26=q6=tan(atime*.029384834); |
| 324 | per_frame_27=//martin no religion / my omniversal absence for changing the background light |
| 325 | per_frame_28=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02; |
| 326 | per_frame_29=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 327 | per_frame_30=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02; |
| 328 | per_frame_31=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 329 | per_frame_32=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02; |
| 330 | per_frame_33=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 331 | per_frame_34=vvb = min(1,max(0,vvb)); |
| 332 | per_frame_35=vvm = min(1,max(0,vvm)); |
| 333 | per_frame_36=vvt = min(1,max(0,vvt)); |
| 334 | per_frame_37=runbass=runbass+vvb; |
| 335 | per_frame_38=runmids=runmids+vvm ; |
| 336 | per_frame_39=runtreb=runtreb+vvt; |
| 337 | per_frame_40=pi23=4*asin(-1)*.33333333333333; |
| 338 | per_frame_41=atime=(runtreb+runmids+runbass)*1.85; |
| 339 | per_frame_42=q8= (sin(atime-0*pi23)+1)*.4; |
| 340 | per_frame_43=q9= (sin(atime-1*pi23)+1)*.4; |
| 341 | per_frame_44=q10=(sin(atime-2*pi23)+1)*.4; |
| 342 | per_frame_45= |
| 343 | per_frame_46=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02; |
| 344 | per_frame_47=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 345 | per_frame_48=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02; |
| 346 | per_frame_49=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 347 | per_frame_50=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02; |
| 348 | per_frame_51=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 349 | per_frame_52=vvb = min(1,max(0,vvb)); |
| 350 | per_frame_53=vvm = min(1,max(0,vvm)); |
| 351 | per_frame_54=vvt = min(1,max(0,vvt)); |
| 352 | per_frame_55=q1 = (vvt+vvm+vvb)*10; |
| 353 | per_frame_56=q2 = (vvt+vvm+vvb)*10; |
| 354 | per_frame_57=q3 = (vvt+vvm+vvb)*10; |
| 355 | per_frame_58=q4 =(vvt+vvm+vvb)*10; |
| 356 | per_frame_59=q5 =(vvt+vvm+vvb)*10; |
| 357 | per_frame_60=q6 =(vvt+vvm+vvb)*10; |
| 358 | per_frame_61=q4 =(vvt+vvm+vvb)*10; |
| 359 | per_frame_62=q5 =(vvt+vvm+vvb)*10; |
| 360 | per_frame_63=q6 =(vvt+vvm+vvb)*10; |
| 361 | per_frame_64=q7 =(vvt+vvm+vvb)*10; |
| 362 | per_frame_65=q11=(vvt+vvm+vvb)*10; |
| 363 | per_frame_66=q12=(vvt+vvm+vvb)*10; |
| 364 | per_frame_67=q13=(vvt+vvm+vvb)*10; |
| 365 | per_frame_68=q14=(vvt+vvm+vvb)*10; |
| 366 | per_frame_69=q15=(vvt+vvm+vvb)*10; |
| 367 | per_frame_70=q16=(vvt+vvm+vvb)*10; |
| 368 | per_frame_71=q17=(vvt+vvm+vvb)*10; |
| 369 | per_frame_72=q18=(vvt+vvm+vvb)*10; |
| 370 | per_frame_73=q19=(vvt+vvm+vvb)*10; |
| 371 | per_frame_74=q20=(vvt+vvm+vvb)*10; |
| 372 | per_frame_75=q21=(vvt+vvm+vvb)*10; |
| 373 | per_frame_76=q22=(vvt+vvm+vvb)*10; |
| 374 | per_frame_77=q23=(vvt+vvm+vvb)*10; |
| 375 | per_frame_78=q24=(vvt+vvm+vvb)*10; |
| 376 | per_frame_79=q25=(vvt+vvm+vvb)*10; |
| 377 | per_frame_80=q26=(vvt+vvm+vvb)*10; |
| 378 | per_frame_81=q27=(vvt+vvm+vvb)*10; |
| 379 | per_frame_82=q28=(vvt+vvm+vvb)*10; |
| 380 | per_frame_83=q29=(vvt+vvm+vvb)*10; |
| 381 | per_frame_84=q30=(vvt+vvm+vvb)*10; |
| 382 | per_frame_85=q31=(vvt+vvm+vvb)*10; |
| 383 | per_frame_86=q32=(vvt+vvm+vvb)*10; |
| 384 | per_frame_87= |
| 385 | per_frame_88=basstime = basstime + 0.003*bass; |
| 386 | per_frame_89= |
| 387 | per_frame_90=q1 = sin(basstime); |
| 388 | per_frame_91=q2 = basstime*0.001; |
| 389 | per_pixel_1=rot = 0; |
| 390 | per_pixel_2=zoom = 1 ;//1.001 + 0.01*rad*bass; |
| 391 | warp_1=`shader_body |
| 392 | warp_2=`{ |
| 393 | warp_3=` // sample previous frame |
| 394 | warp_4=` ret.xyz = tex2D( sampler_main, uv ).xyz; |
| 395 | warp_5=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 396 | warp_6=` ((uv.xyy*q27 |
| 397 | warp_7=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 398 | warp_8=` ).xyz* |
| 399 | warp_9=` float3(1,1,0)*0.05 + |
| 400 | warp_10=` time*float3(0,0,1)*q29 |
| 401 | warp_11=` ); |
| 402 | warp_12=`if(ret.x> q21*q13 && ret.x<= q24*q11 )ret.y += (noise9).x*.5; |
| 403 | warp_13=`if(ret.y> q22*q11 && ret.y<= q25*q12 )ret.z += (noise9).y*.5; |
| 404 | warp_14=`if(ret.z> q23*q12 && ret.z<= q26*q13 )ret.x += (noise9).z*.5; |
| 405 | warp_15=` |
| 406 | warp_16=` // take the difference between the crisp and blurred images, |
| 407 | warp_17=` // then add it back into the image. Creates spots and stripes over time. |
| 408 | warp_18=` float3 b = GetBlur1(uv)*0.3 + GetBlur2(uv)*0.4 + GetBlur3(uv)*0.3; |
| 409 | warp_19=` ret.xyz += (ret.xyz - b)*0.3; |
| 410 | warp_20=` ret.xyz *= 0.9; |
| 411 | warp_21=` |
| 412 | warp_22=` // add noise: |
| 413 | warp_23=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * 0.4 + rand_frame.xy; |
| 414 | warp_24=` ret.xyz += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5)/256.0 * 122 |
| 415 | warp_25=` * (saturate(treb_att-1)*0.4+0.3); |
| 416 | warp_26=` |
| 417 | warp_27=` // desaturate over time, to keep the globs white |
| 418 | warp_28=` ret.xyz = lerp(ret.xyz, lum(ret.xyz), 0.2); |
| 419 | warp_29=`} |
| 420 | comp_1=`float2 polar, factorA, factorB, product; |
| 421 | comp_2=` |
| 422 | comp_3=`sampler sampler_pano_starsmap; |
| 423 | comp_4=` |
| 424 | comp_5=`shader_body |
| 425 | comp_6=`{ |
| 426 | comp_7=` |
| 427 | comp_8=` |
| 428 | comp_9=`float z = q30; |
| 429 | comp_10=`float d = q31; |
| 430 | comp_11=`float pi = q28; |
| 431 | comp_12=`float pi2inv = q29; |
| 432 | comp_13=`float mask_apex = q32; |
| 433 | comp_14=`float zoom = q27; |
| 434 | comp_15=` |
| 435 | comp_16=`float2 c = zoom*(uv-0.5)*aspect.xy; |
| 436 | comp_17=` |
| 437 | comp_18=`float camera_apex = atan2( length(c),z); |
| 438 | comp_19=` |
| 439 | comp_20=`bool mask = mask_apex >= camera_apex; |
| 440 | comp_21=` |
| 441 | comp_22=`float longitude = atan2(c.x,c.y); |
| 442 | comp_23=`float latitude = (pi - camera_apex + asin(d*sin(camera_apex))); |
| 443 | comp_24=` |
| 444 | comp_25=`float2 polar = float2(longitude,latitude); |
| 445 | comp_26=` |
| 446 | comp_27=`float3 p = float3( sin(polar.x)*sin(polar.y),cos(polar.x)*sin(polar.y),cos(polar.y)); |
| 447 | comp_28=` |
| 448 | comp_29=`factorA = p.zy; |
| 449 | comp_30=`factorB = float2(q10,q11); |
| 450 | comp_31=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y,factorA.x*factorB.y + factorA.y*factorB.x); |
| 451 | comp_32=`p.zy = product.xy; |
| 452 | comp_33=` |
| 453 | comp_34=`factorA = p.zx; |
| 454 | comp_35=`factorB = float2(q22,q23); |
| 455 | comp_36=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y,factorA.x*factorB.y + factorA.y*factorB.x); |
| 456 | comp_37=`p.zx = product.xy; |
| 457 | comp_38=` |
| 458 | comp_39=`factorA = p.yx; |
| 459 | comp_40=`factorB = float2(q24,q25); |
| 460 | comp_41=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); |
| 461 | comp_42=`p.yx = product.xy; |
| 462 | comp_43=` |
| 463 | comp_44=`polar = float2(atan2(p.z,p.x),atan2(p.y,length(p.xz)))*pi2inv*float2(1,2)+float2(0,0.5); |
| 464 | comp_45=` |
| 465 | comp_46=`//Eo.S's mirror code! |
| 466 | comp_47=`float2 polar2 = 1.0 - abs( frac( polar ) * 2.0 - 1.0 ); |
| 467 | comp_48=` |
| 468 | comp_49=`float2 uv1 = float2(polar2.x-q6, polar2.y-q5); |
| 469 | comp_50=` |
| 470 | comp_51=`float2 hor = float2 (texsize.z*1,0); |
| 471 | comp_52=`float2 ver = float2 (0,texsize.w*1); |
| 472 | comp_53=`float dx = GetPixel (polar2-hor) - GetPixel (polar2+hor); |
| 473 | comp_54=`float dy = GetPixel (polar2-ver) - GetPixel (polar2+ver); |
| 474 | comp_55=`float2 dz = float2 (dx,dy); |
| 475 | comp_56=` |
| 476 | comp_57=`uv1 = uv1*0+.3*cos(uv1*2) - dz; |
| 477 | comp_58=`float dots = saturate(.04/length(uv1)); |
| 478 | comp_59=`uv1 = uv1*0+.3*cos(uv1*12) - 9*dz; |
| 479 | comp_60=`float3 dots2 = saturate(.04/length(uv1)); |
| 480 | comp_61=`dots -= lum(GetBlur2(polar2)); |
| 481 | comp_62=` |
| 482 | comp_63=`ret = dots + GetPixel(polar2)*12*dots2; |
| 483 | comp_64=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 484 | comp_65=` ((uv1.xyy*q28 |
| 485 | comp_66=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 486 | comp_67=` ).xyz* |
| 487 | comp_68=` float3(1,1,0)*0.05 + |
| 488 | comp_69=` time*float3(0,0,1)*q31 |
| 489 | comp_70=` ); |
| 490 | comp_71=`if(ret.x> q26*q13 && ret.x<= q23*q11 )ret.z -= (noise9).x*.5; |
| 491 | comp_72=`if(ret.y> q25*q11 && ret.y<= q22*q12 )ret.x -= (noise9).y*.5; |
| 492 | comp_73=`if(ret.z> q24*q12 && ret.z<= q21*q13 )ret.y -= (noise9).z*.5; |
| 493 | comp_74=` |
| 494 | comp_75=`//ret = tex2D(sampler_main,polar2); |
| 495 | comp_76=` |
| 496 | comp_77=`//ret = lerp(ret,1,mask*tex2d(sampler_pano_earth_clouds,polar)*mid_att*0.5); |
| 497 | comp_78=` |
| 498 | comp_79=` |
| 499 | comp_80=`c = -(uv-0.5)*aspect.xy; |
| 500 | comp_81=`polar = float2( atan2(c.x,z), atan2(c.y,z)); |
| 501 | comp_82=`p = float3( sin(polar.x)*cos(polar.y),sin(polar.y)*cos(polar.x),cos(polar.x)*cos(polar.y)); |
| 502 | comp_83=`factorA = p.zy;factorB = float2(q10,q11); |
| 503 | comp_84=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y,factorA.x*factorB.y + factorA.y*factorB.x); |
| 504 | comp_85=`p.zy = product.xy;factorA = p.zx;factorB = float2(q22,q23); |
| 505 | comp_86=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y,factorA.x*factorB.y + factorA.y*factorB.x); |
| 506 | comp_87=`p.zx = product.xy;factorA = p.yx;factorB = float2(q24,q25); |
| 507 | comp_88=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); |
| 508 | comp_89=`p.yx = product.xy;polar = float2( atan2(p.x,p.z),atan2(p.y,length(p.xz))*2)*pi2inv + float2(0,0.5); |
| 509 | comp_90=` |
| 510 | comp_91=`polar2 = 1.0 - abs( frac( polar ) * 2.0 - 1.0 ); |
| 511 | comp_92=` |
| 512 | comp_93=`uv1 = float2(polar2.x-q6, polar2.y-q5); |
| 513 | comp_94=` |
| 514 | comp_95=`hor = float2 (texsize.z,0); |
| 515 | comp_96=`ver = float2 (0,texsize.w*1); |
| 516 | comp_97=`dx = GetPixel (polar2-hor) - GetPixel (polar2+hor); |
| 517 | comp_98=`dy = GetPixel (polar2-ver) - GetPixel (polar2+ver); |
| 518 | comp_99=`dz = float2 (dx,dy); |
| 519 | comp_100=` |
| 520 | comp_101=`uv1 = uv1*0+.3*cos(uv1*2) - dz; |
| 521 | comp_102=`dots = saturate(.04/length(uv1)); |
| 522 | comp_103=`uv1 = uv1*0+.3*cos(uv1*12) - 9*dz; |
| 523 | comp_104=`dots2 = saturate(.04/length(uv1)); |
| 524 | comp_105=`dots -= lum(GetBlur2(polar2)); |
| 525 | comp_106=` |
| 526 | comp_107=`ret = lerp(ret,pow(dots + GetPixel(polar2)*12*dots2,1.75).yzx,(1-mask)); |
| 527 | comp_108=` |
| 528 | comp_109=`} |
| 529 | comp_110=` |
| 530 | comp_111=` |